/*
 * Main.java
 *
 * Created on February 8, 2009, 3:06 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package regnum_web_trade;

import javax.swing.JInternalFrame;

/**
 *
 * @author alvaro
 */
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Window.main(null);
    }
    
    public static JInternalFrame getJInternalFrame(String dir){
        Window win = new Window(dir);
        win.setResizable(true);
        win.setIconifiable(true);
        win.setClosable(true);
        win.setSize(500, 500);
        win.setVisible(true);
        
        return win;
    }
    
}
